btrfs: warn about RAID5/6 being experimental at mount time
authorAdam Borowski <kilobyte@angband.pl>
Tue, 28 Mar 2017 14:55:05 +0000 (16:55 +0200)
committerBastian Blank <waldi@debian.org>
Sun, 16 Dec 2018 18:45:54 +0000 (18:45 +0000)
commitf6a8c84cbb3c1ce71be1b1afb7f61c37ab70bd9b
tree08907c7b3d0d0c6cfc258086c6ca56d64467c93a
parentf3b87a6ff29129d44333b8c8b0a1290b1438148b
btrfs: warn about RAID5/6 being experimental at mount time

Too many people come complaining about losing their data -- and indeed,
there's no warning outside a wiki and the mailing list tribal knowledge.
Message severity chosen for consistency with XFS -- "alert" makes dmesg
produce nice red background which should get the point across.

Signed-off-by: Adam Borowski <kilobyte@angband.pl>
[bwh: Also add_taint() so this is flagged in bug reports]

Gbp-Pq: Topic debian
Gbp-Pq: Name btrfs-warn-about-raid5-6-being-experimental-at-mount.patch
fs/btrfs/disk-io.c